package com.WISSC.serviceImpl;

import com.WISSC.bean.Team;
import com.WISSC.bean.TeamMatch;
import com.WISSC.mapper.TeamMatchMapper;
import com.WISSC.service.TeamMatchService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 战队和战队战队赛事经历关联表 服务实现类
 * </p>
 *
 * @author 张凯
 * @since 2019-05-06
 */
@Service
public class TeamMatchServiceImpl extends ServiceImpl<TeamMatchMapper, TeamMatch> implements TeamMatchService {

    @Override
    public boolean removeByTeamId(Long id) {
        if(baseMapper.remove(id)>0){
            return  true;
        }
        return false;
    }
}
